package com.ztesoft.web.common.db.po;

import java.util.*;
import org.apache.commons.lang.StringUtils;
import com.ztesoft.framework.dto.AbstractDto;

public class DbLinkInstancePO extends AbstractDto{
	private Integer  dbLinkId;
	private Integer  dbBaseId;
	private String  dbLinkName;
	private String  dbLinkMethod;
	private String  dbLinkBody;
	private String  dbLinkCategory;
	private String  dbLinkDesc;
	private String  state;
	private String  createDate;
	private String  stateDate;
    public void setDbLinkId(Integer dbLinkId) {
        this.dbLinkId = dbLinkId;
    }
    public Integer getDbLinkId() {
        return dbLinkId;
    }
    public void setDbBaseId(Integer dbBaseId) {
        this.dbBaseId = dbBaseId;
    }
    public Integer getDbBaseId() {
        return dbBaseId;
    }
    public void setDbLinkName(String dbLinkName) {
        this.dbLinkName = dbLinkName;
    }

    public String getDbLinkName() {
        return StringUtils.isBlank(dbLinkName) ? dbLinkName : dbLinkName.trim();
    }
    public void setDbLinkMethod(String dbLinkMethod) {
        this.dbLinkMethod = dbLinkMethod;
    }

    public String getDbLinkMethod() {
        return StringUtils.isBlank(dbLinkMethod) ? dbLinkMethod : dbLinkMethod.trim();
    }
    public void setDbLinkBody(String dbLinkBody) {
        this.dbLinkBody = dbLinkBody;
    }

    public String getDbLinkBody() {
        return StringUtils.isBlank(dbLinkBody) ? dbLinkBody : dbLinkBody.trim();
    }
    public void setDbLinkCategory(String dbLinkCategory) {
        this.dbLinkCategory = dbLinkCategory;
    }

    public String getDbLinkCategory() {
        return StringUtils.isBlank(dbLinkCategory) ? dbLinkCategory : dbLinkCategory.trim();
    }
    public void setDbLinkDesc(String dbLinkDesc) {
        this.dbLinkDesc = dbLinkDesc;
    }

    public String getDbLinkDesc() {
        return StringUtils.isBlank(dbLinkDesc) ? dbLinkDesc : dbLinkDesc.trim();
    }
    public void setState(String state) {
        this.state = state;
    }

    public String getState() {
        return StringUtils.isBlank(state) ? state : state.trim();
    }
    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getCreateDate() {
        return StringUtils.isBlank(createDate) ? createDate : createDate.trim();
    }
    public void setStateDate(String stateDate) {
        this.stateDate = stateDate;
    }

    public String getStateDate() {
        return StringUtils.isBlank(stateDate) ? stateDate : stateDate.trim();
    }
}